<template>
  <div class="note">
    <iframe :src="iframeUrl" height="100%" width="100%" frameborder="0" scrolling="0"></iframe>
  </div>
</template>

<script>
export default {
  props: {},
  data () {
    return {
      iframeUrl: ''
    }
  },
  computed: {},
  created () {
    this.getsystem()
  },
  mounted () {},
  watch: {},
  methods: {
    getsystem () {
      let rsaStr = ''
      this.$getCode(rsaStr).then(rsaCode => {
        this.http
          .getsystem(rsaCode)
          .then(res => {
            if (res.data.errno === '000') {
              this.iframeUrl = res.data.result.data.share_rule
            }
          })
          .catch(err => {
            // console.log(err);
          })
      })
    }
  },
  components: {}
}
</script>

<style scoped lang="less">
.note {
  width: 90%;
  height: 100%;
  margin: 0 auto;
  margin-top: 80px;
  .clearfix {
    color: #f56c6c;
  }
  .item {
    margin: 10px 0;
  }
}
</style>
